package com.liliya.pojo;

import java.io.Serializable;

/**
 * @Description 用户权限
 * @Author hhy
 * @Date 2021/1/6 14:51
 */
public class Role implements Serializable {
    private static final long serialVersionUID = -4911671384493668192L;
    /**
     * 权限编号
     */
    private int num;
    /**
     * 权限名字
     */
    private String name;

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Role(int num, String name) {
        this.num = num;
        this.name = name;
    }

    @Override
    public String toString() {
        return "Role{" +
                "num=" + num +
                ", name='" + name + '\'' +
                '}';
    }
}
